package com.kingbull.web.controller;

import com.kingbull.web.mapper.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
	@Autowired
	private Mapper mapper;

	@RequestMapping
	public Object hello() {
		return mapper.queryUserById("liufeng");
	}
}
